<?php
/**
 * Package.php		
 *
 * @package		
 * @Copyright	(c) All rights reserved
 * @Author		skyCrack <skyCrack@126.com>
 * @Version		$Id$
 */

class Package
{
	public static function toVar($package)
	{
		return preg_replace("/[\\/]/", '_', $package);
	}
	
	public static function toPackage($package)
	{
		return str_replace('_', '/', $package);
	}
}
?>